package cn.fintecher.pangolin.service.common.elastic;

import cn.fintecher.pangolin.entity.elastic.UploadFile;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;

/**
 * @Auther: xiaqun
 * @Description:
 * @Date: 10:06 2019/8/30
 */
public interface UploadFileElastic extends ElasticsearchRepository<UploadFile, String> {
    /**
     * 根据文件名称查询文件
     */
    UploadFile findByFileName(String name);
}
